package com.cnap.model.log;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
 * <类文件描述>
 *
 * @author xc
 **/
class OperationTypeEnumTest {

    @Test
    void isValidOperationTypeWithFalse() {
        boolean result = OperationTypeEnum.isValidOperationType("qwe");

        Assertions.assertFalse(result);
    }
    @Test
    void isValidOperationTypeWithTrue() {
        boolean result = OperationTypeEnum.isValidOperationType("退出");

        Assertions.assertTrue(result);
    }
}